/*
 * @Title: 忘记密码输入密码
 * @Created by: gsjPC 
 */
<template>
	<view>
		<comHeader :config="navConfig"/>
		<view class="getYzmWrap">
			<view class="regTit">输入账号</view>
				<view class="dlInput_psd">
					<view class="dlInput_numb">
					<text>账号</text>
					<input 
					type="type" 
					v-model="username"
					placeholder="手机号/邮箱/账户登录" 
					placeholder-style="color:#CCCCCC"
					placeholder-class="placecLass"
					@input="focusClass1"
					:class="[isActive1 ? 'blueBorder' : '']"/>
					</view>
				</view>
			<view class="goIndex" @tap="goIndex">确认</view>
		</view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				username:'',
				navConfig:{
					isFixed:false,
					left:{
						text:'',  
						isShowLeft:true,
						leftGobackColor:'black',
						leftTextColor:'black',
					},
					mid:{
						isShowMid:true,
						text:'注册账号'
					},
					right:{
						text:'',
						isShowRight:false,
					}
				},
			}
		},
		methods:{
			goIndex(){
				if(this.username == '123456789'){
					uni.navigateTo({
						// url:'/pages/login/forgetPsdCon'
						url:'/pages/login/forgetPsdCon'
					})
				}else{
					uni.navigateTo({
						// url:'/pages/login/forgetPsdCon'
						url:'/pages/login/forIsReg'
					})
				}
				
			}
		}
	}
</script>

<style>
	.getYzmWrap{
		margin:0upx 56upx 0 56upx;
		padding-top:210upx;
	}
	
	.regTit{
		color: #333333;
		font-size: 40upx;
		margin-bottom: 80upx;
		margin-top:70upx;
		font-weight: bold;
	}
	.goIndex{
		height: 88upx;
		line-height: 88upx;
		border-radius:88upx;
		font-size: 28upx;
		background: linear-gradient(left,#54AAFF,#568FFF);
		text-align: center;
		color: #ffffff;
		margin-top:110upx;
	}
	
	.dlInput_numb{
		display: flex;
		flex-direction: row;
		align-items: center;
	}
	
	.dlInput_psd{
		margin-top: 76upx;
		padding-bottom:20upx;
		height:46upx;
		display: flex;
		flex-direction: row;
		align-items: center;
		border-bottom: 1upx solid #DCDCDC;
		justify-content: space-between;
	}
	.dlInput_psd text{
		color: #333333;
		font-size: 28upx;
	}
	.dlInput_psd input{
		margin-left:70upx;
		height:46upx;
		line-height:46upx;
		color: #333;
		font-size: 28upx;
	}
</style>
